package com.yzxb.erpsystem.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Product {
    private Long id;
    
    private String productCode;
    
    private String productName;
    
    private Long categoryId;
    
    private String unit;
    
    private BigDecimal costPrice = BigDecimal.ZERO;
    
    private BigDecimal salePrice = BigDecimal.ZERO;
    
    private BigDecimal stockQuantity = BigDecimal.ZERO;
    
    private String status;
    
    private LocalDateTime createdTime;
    
    private LocalDateTime updatedTime;
    
    private String remark;
}